home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
yatsee11.zip
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-05-15
|
1KB
|
45 lines
/* Create an icon for YATSEE on the desktop */
/* If you already have an icon for TRIPLES */
/* please delete this icon before calling*/
/* this program */
call RxFuncAdd "SysLoadFuncs","REXXUTIL","SysLoadFuncs"
call SysLoadFuncs
say " Yatsee 1.1"
say ""
say "The installation program will create an icon for Yatsee on the desktop"
say ""
say "Continue?"
say "(Y/N)"
PARSE PULL reply
If reply = "N" | reply = "n" then exit
title="Yatsee"
classname='WPProgram'
location='<WP_DESKTOP>'
curdir=directory()
result=SysCreateObject(classname,title,location,'PROGTYPE=PM;EXENAME='curdir'\yatsee.exe;')
If result then
say "Icon for Yatsee 1.1 created..."
else do
say "ERROR : The objects have not been installed,due to an error."
say "POSSIBLE CAUSE : The objects already exist on the desktop."
say "ACTION : Remove the already existing objects and try again."
pull key
end